.class public final Lnbisdk/os;
.super Lnbisdk/gb;


# instance fields
.field private kz:I

.field private ul:Ljava/lang/String;

.field private um:I

.field private un:[B

.field private uo:Lnbisdk/rc;

.field private up:Lnbisdk/qr;


# direct methods
.method constructor <init>(Lnbisdk/rj;Ljava/lang/String;II[BIILnbisdk/rc;Lnbisdk/qr;)V
    .locals 0

    invoke-direct {p0, p1}, Lnbisdk/gb;-><init>(Lnbisdk/rj;)V

    iput-object p2, p0, Lnbisdk/os;->ul:Ljava/lang/String;

    iput p3, p0, Lnbisdk/os;->um:I

    iput p4, p0, Lnbisdk/os;->kz:I

    iput-object p5, p0, Lnbisdk/os;->un:[B

    iput-object p8, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    iput-object p9, p0, Lnbisdk/os;->up:Lnbisdk/qr;

    return-void
.end method


# virtual methods
.method public final a(Lnbisdk/dz;)V
    .locals 2

    invoke-super {p0, p1}, Lnbisdk/gb;->a(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/os;->up:Lnbisdk/qr;

    iget-object v1, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    invoke-interface {v0, v1}, Lnbisdk/qr;->onRequestCancelled(Lcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final a(Lnbisdk/dz;I)V
    .locals 4

    const/16 v3, 0x64

    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;I)V

    iget v0, p0, Lnbisdk/os;->um:I

    mul-int/lit8 v0, v0, 0x64

    iget v1, p0, Lnbisdk/os;->kz:I

    div-int/2addr v0, v1

    iget v1, p0, Lnbisdk/os;->kz:I

    div-int v1, v3, v1

    div-int/lit8 v2, p2, 0x64

    mul-int/2addr v1, v2

    add-int/2addr v0, v1

    if-le v0, v3, :cond_0

    move v0, v3

    :cond_0
    iget-object v1, p0, Lnbisdk/os;->up:Lnbisdk/qr;

    iget-object v2, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    invoke-interface {v1, v0, v2}, Lnbisdk/qr;->onRequestProgress(ILcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V
    .locals 2

    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V

    iget-object v0, p0, Lnbisdk/os;->up:Lnbisdk/qr;

    iget-object v1, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    invoke-interface {v0, p2, v1}, Lnbisdk/qr;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lnbisdk/fk;)V
    .locals 2

    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/os;->un:[B

    iget-object v0, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    const-string v1, "log-id"

    invoke-static {p2, v1}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/rc;->aJ(Ljava/lang/String;)V

    return-void
.end method

.method public final a(Lnbisdk/ri;)V
    .locals 2

    const-string v0, "log-id"

    iget-object v1, p0, Lnbisdk/os;->ul:Ljava/lang/String;

    invoke-static {p1, v0, v1}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "current"

    iget v1, p0, Lnbisdk/os;->um:I

    invoke-static {p1, v0, v1}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v0, "total"

    iget v1, p0, Lnbisdk/os;->kz:I

    invoke-static {p1, v0, v1}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v0, "data"

    iget-object v1, p0, Lnbisdk/os;->un:[B

    invoke-virtual {p1, v0, v1}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    return-void
.end method

.method public final b(Lnbisdk/dz;)V
    .locals 2

    invoke-super {p0, p1}, Lnbisdk/gb;->b(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/os;->up:Lnbisdk/qr;

    iget-object v1, p0, Lnbisdk/os;->uo:Lnbisdk/rc;

    invoke-interface {v0, v1}, Lnbisdk/qr;->onRequestTimedOut(Lcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final cancel()V
    .locals 1

    iget-object v0, p0, Lnbisdk/os;->cW:Lnbisdk/rj;

    invoke-interface {v0, p0}, Lnbisdk/rj;->h(Lnbisdk/dz;)V

    return-void
.end method

.method protected final getType()Ljava/lang/String;
    .locals 1

    const-string v0, "qalog-upload"

    return-object v0
.end method
